home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 30
/
PC Gamer IT CD 30 1-2.iso
/
BOOTMARK
/
bootMark
/
UNINSTAL.IN_
/
UNINSTAL.IN
Wrap
Text File
|
1997-04-08
|
17KB
|
707 lines
;******************************************************
; Norton System Information uninstall script
; (c) 1996 Symantec - Peter Norton Product Group
; For use with the Symantec Install version 4.2 32-bit
;******************************************************
; switch03 - MM Version of installation
; switch04 - Re-enable NPROTECT
; switch05 - RegTrk directory has files
; switch92 - SWITCH_REALFULLUNINSTALL
; switch40 - SWITCH_FULLUNINSTALL
; switch99 - Used for various things
[InstallVersion]
4.0
[Process]
EnableForceWrite()
EnableOverwrite()
Uninstall()
Bitmaps(pix)
DisableHelp()
Backup(CustDLLCopy)
SetActiveCopy(SICopy,uninstal.inf)
; Initialize the custom dll
CallProc(Memory)
; Begin with the welcome wizard panel
WizardPanel(Welcome,siwsi.dll)
WizardProcessPanel()
WizardPanel(RemoveFiles,siwsi.dll)
FullUninstall()
SelectOption(BaseFiles)
; Get the proper paths for our basic targets
ResetTarget(TargetSource)
CallProcEx(FindSharedComponents)
CallProcEx(GetShortTarget)
CallProcEx(GetShortShared)
WizardProcessPanel()
DeselectOption(symevnt)
DisableUtils()
Uncopy()
EnableUtils()
CallProcEx(RegStatusCreate)
CallProcEx(DelRegSysinfowKeys)
CallProcEx(DelRegSysinfowValues)
CallProc(LINK_SYSINFO)
CallProc(LINK_UNINSTALL)
CallProcEx(RegStatus66)
CallProcEx(RegStatus100)
CallProcEx(RegStatus100)
CallProcEx(EndStatusBox)
CallProcEx(CleanUpStatus)
CallProcEx(RegStatus33)
CallProcEx(DecrementSysfiles)
Delete(Leftovers)
CallProcEx(FullUnInstall)
switch99=Exists(SymeventVXD)
#ifnot(switch99)
CallProcEx(DelRegSymeventVXD)
#endif
CallProcEx(DelRegUninstallKey)
CallProcEx(DelRegBaseKeys)
CallProcEx(DelRegBaseValues)
CallProcEx(DelSharedLeftover)
switch99=CallProcEx(CheckRegHKCUSymantec)
#if(switch99)
CallProcEx(DelRegHKCUSymantec)
#endif
switch99=CallProcEx(CheckRegInstalledApps)
#if(switch99)
CallProcEx(DelRegInstalledApps)
#endif
switch99=CallProcEx(CheckRegHKLMSymantec)
#if(switch99)
CallProcEx(DelRegHKLMSymantec)
#endif
CallProcEx(RegStatus66)
CallProcEx(RegStatus100)
CallProcEx(RegStatus100)
CallProcEx(EndStatusBox)
WizardPanel(Finished,siwsi.dll)
WizardProcessPanel()
CallProcEx(ExitHookProc)
switch99=IsInstallShell()
#if(switch99)
ExitReboot()
#else
ExitRestart()
#endif
End()
[SubProc]
Backup(CustDLLCopy)
DelFromIni(KillVxds)
Return()
;********************************************************************
; Copy sections
;********************************************************************
[SICopy]
CopyMain.BaseFiles, "Norton Sysinfo Base Files - %ldK", 0, Y, N, Y
CopySub.symevnt, " "
CopySub.nushared, " "
CopySub.sysshared, " "
CopySub.winbase, " "
CopySub.sysinfow, " "
CopyMain.DoNotRemove, "Dummy Entry - Don't remove", 0, N, N, N
CopySub.xxx, "Bogus Field"
CopySub.yyy, "Bogus Field"
[SICopy:TypeSelect]
count = 2
caption = "Norton System Information Uninstall Type"
text = "Please Select the type of uninstall you want to perform."
grouptext = "Uninstall Types"
button1 = "&Selective Uninstall"
button2 = "&Full Uninstall"
descrip1 = "This option allows you to select the Norton Sysinfo components you would like to remove from your hard drive."
descrip2 = "This option completely removes Norton System Information from your hard drive."
[SICopy:Primary]
caption = "Norton System Information Main Selection"
button1 = "Select..."
button2 = "Select..."
button3 = "Select..."
button4 = "Select..."
button5 = "Select..."
text = App1Text
selsizetext = "Total of selected components:"
DisableButtons = 0
[SICopy:Component]
caption = "Norton System Information - Component Selection"
text = "Select/Deselect the components you want to remove. Checked items will be uninstalled."
[SICopy:CopyDialog]
caption = "Copying Norton Utilities Files..."
posx = -10
posy = -10
[App1Text]
"Please select the items you wish to remove. If a selection"
"has a button to the right, you can select individual files or"
"components."
;********************************************************************
; Groups
;********************************************************************
[groups]
"Norton System Information", sysinfo.grp
; itemname, filename, link, icon file icon name, icon params, startdir
; index, loc, loc,
[Norton System Information]
"System Information", si32.exe, sysinfow, 0, TARGET
"Uninstall Sysinfo", setup.exe, basefiles, 0, TARGET, , , "/U"
;********************************************************************
; Dialog text
;********************************************************************
[Errors]
NoPrev = "Symantec Install for Windows is already running!"
[FileCopy]
copycaption = "Installing Norton System Information"
errorcaption = "Error Copying Files"
insertcaption = "Insert Diskette"
Message = MessageText
[Cancel]
caption = "Norton System Information - Exit Uninstall"
text = "Are you sure you want to exit?"
[CancelShell]
caption = "Norton System Information - Exit Uninstall"
"You have selected to cancel Uninstall."
"In order to reset the Windows"
"environment, Uninstall will also restart"
" your computer. Are you sure you want to exit?"
;********************************************************************
; File backups
;********************************************************************
[CustDLLCopy]
siwsi.dll, siwsi.dll, SOURCE, TEMPDIR
[WinComBackup]
winnu10.cob, win.com, WINDOWS, WINDOWS
;********************************************************************
; File deletes
;********************************************************************
[DelInfoDesk]
infodesk.gid, TARGET3
[Leftovers]
win.siw, WINDOWS
system.siw, WINDOWS
system.nu, WINDOWS
siwsi.dll, WINDOWS
ctl3d32.dll, WINDOWS
pipeline.dll, SOURCE
pipeline.dll, TARGET2
pipeline.dll, TARGET3
pipeline.ini, SOURCE
pipeline.ini, TARGET
[OnRampLeftovers]
hscript.scp, TARGET11
liveupdt.hst, TARGET11
;********************************************************************
; External function calls
;********************************************************************
[LINK_SYSINFO]
dll = siwsi.dll
function = RemoveLinkFile
LINK = "System Information.LNK"
[LINK_UNINSTALL]
dll = siwsi.dll
function = RemoveLinkFile
LINK = "Uninstall Sysinfo.LNK"
[ShowTargets]
dll = siwsi.dll
function = ShowTargets
[Memory]
dll = siwsi.dll
function = InitMemory
[ExitHookProc]
dll = siwsi.dll
function = ReleaseDLL
[DeleteDir]
dll = siwsi.dll
function = DeleteDirectory
[DeleteTargetDir]
dll = siwsi.dll
function = DeleteDirectory
location = TARGET
[DeleteOnRampDir]
dll = siwsi.dll
function = DeleteDirectory
location = TARGET11
[DeleteLinks]
dll = siwsi.dll
function = RemoveLinks
[FindSharedComponents]
dll = siwsi.dll
function = FindSharedComponents
[UsageCounts]
dll = siwsi.dll
function = UpdateUsageCounts
[GetShort]
dll = siwsi.dll
function = ConvertToShortName
[GetShortTarget]
dll = siwsi.dll
function = ConvertToShortName
source = 0
dest = 6
[GetShortShared]
dll = siwsi.dll
function = ConvertToShortName
source = 3
dest = 8
[FullUnInstall]
dll = siwsi.dll
function = FullUnInstall
[BackupTarget4]
dll = siwsi.dll
function = BackupTarget4
[RestoreTarget4]
dll = siwsi.dll
function = RestoreTarget4
[DelRegSymeventVXD]
dll = siwsi.dll
function = DeleteRegistryKey
hive = SIWHKEY_LOCAL_MACHINE
subkey = "System\CurrentControlSet\Services\VxD\SYMEVNT"
[CheckRegValue1]
dll = siwsi.dll
function = QueryRegistryValue
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\Norton Utilities\Install\10.0\Components"
value = "unerasew"
[CheckRegValue2]
dll = siwsi.dll
function = QueryRegistryValue
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
value = "NPROTECT"
[CheckRegValue3]
dll = siwsi.dll
function = QueryRegistryValue
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\Norton Utilities\Install\10.0"
value = "RunUEProc32"
[DelRegFlag]
dll = siwsi.dll
function = DeleteRegistryValue
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\Norton Utilities\Install\10.0"
value = "RunUEProc32"
[DelRegSysinfowKeys]
dll = siwsi.dll
function = DeleteRegistryKeys
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\SI32.EXE"
subkey = "SOFTWARE\Symantec\Norton Utilities\System Information"
hive = SIWHKEY_CURRENT_USER
subkey = "SOFTWARE\Symantec\Norton Utilities\System Information"
[DelRegSysinfowValues]
dll = siwsi.dll
function = DeleteRegistryValues
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Microsoft\Windows\Help"
value = "SI32.HLP"
subkey = "SOFTWARE\Symantec\Norton Utilities\Install\10.0\Components"
value = "sysinfow"
[DelRegLiveUpdateValues]
dll = siwsi.dll
function = DeleteRegistryValues
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\InstalledApps"
value = "LiveUpdate"
subkey = "SOFTWARE\Symantec\SharedUsage"
value = "LiveUpdate"
subkey = "SOFTWARE\Symantec\SharedUsage"
value = "LiveUpdate1"
[DelRegLiveUpdateValues2]
dll = siwsi.dll
function = DeleteRegistryValue
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\SharedUsage"
value = "LiveUpdate1"
[DelRegUninstallKey]
dll = siwsi.dll
function = DeleteRegistryKey
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Norton System Information"
[DelRegBaseKeys]
dll = siwsi.dll
function = DeleteRegistryKeys
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\Norton System Info"
hive = SIWHKEY_CURRENT_USER
subkey = "SOFTWARE\Symantec\Norton System Info"
[DelRegHKLMSymantec]
dll = siwsi.dll
function = DeleteRegistryKey
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec"
[DelRegHKCUSymantec]
dll = siwsi.dll
function = DeleteRegistryKey
hive = SIWHKEY_CURRENT_USER
subkey = "SOFTWARE\Symantec"
[DelRegBaseValues]
dll = siwsi.dll
function = DeleteRegistryValues
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\InstalledApps"
value = "SI2.0"
[DelRegInstalledApps]
dll = siwsi.dll
function = DeleteRegistryKey
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\InstalledApps"
[CheckRegComponents]
dll = siwsi.dll
function = IsKeyEmpty
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\Norton System Info\Install\2.0\Components"
[CheckRegNU2]
dll = siwsi.dll
function = IsKeyEmpty
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\Norton System Info"
[CheckRegNU3]
dll = siwsi.dll
function = IsKeyEmpty
hive = SIWHKEY_CURRENT_USER
subkey = "SOFTWARE\Symantec\Norton System Info"
[CheckRegHKLMSymantec]
dll = siwsi.dll
function = IsKeyEmpty
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec"
[CheckRegHKCUSymantec]
dll = siwsi.dll
function = IsKeyEmpty
hive = SIWHKEY_CURRENT_USER
subkey = "SOFTWARE\Symantec"
[CheckRegInstalledApps]
dll = siwsi.dll
function = IsKeyEmpty
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\InstalledApps"
[DecrementOnRamp]
dll = siwsi.dll
function = DecrementBinaryUsageCounts
section = OnRampSharedComponents
[DecrementSysfiles]
dll = siwsi.dll
function = DecrementBinaryUsageCounts
section = SystemSharedComponents
[CleanOnRamp]
dll = siwsi.dll
function = CleanUpOnRamp
[RegStatusCreate]
dll = siwsi.dll
function = CreateStatusBox
caption = "Norton System Information Setup"
text = "Removing Registry Entries..."
[CleanUpStatus]
dll = siwsi.dll
function = CreateStatusBox
caption = "Norton System Information Setup"
text = "Removing Leftover System Files..."
[RegStatus33]
dll = siwsi.dll
function = SetStatusBoxFillPos
position = 33
[RegStatus66]
dll = siwsi.dll
function = SetStatusBoxFillPos
position = 66
[RegStatus100]
dll = siwsi.dll
function = SetStatusBoxFillPos
position = 100
[EndStatusBox]
dll = siwsi.dll
function = EndStatusBox
[DelSharedLeftover]
dll = siwsi.dll
function = DeleteRegistryKey
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\Shared"
[IsOnRampGT1]
dll = siwsi.dll
function = IsBinaryUsageCountGT1
file = S32LIVE1.DLL
location = TARGET11
[CheckLUValue]
dll = siwsi.dll
function = QueryRegistryValue
hive = SIWHKEY_LOCAL_MACHINE
subkey = "SOFTWARE\Symantec\SharedUsage"
value = "LiveUpdate"
;********************************************************************
; Text file mods
;********************************************************************
;********************************************************************
; ini file modifications
;********************************************************************
[KillVxds]
IniName = system.ini
SectionName = 386Enh
device=*symevnt.386*
;********************************************************************
; Registration entries
;********************************************************************
;********************************************************************
; Misc install sections
;********************************************************************
[UpdateHelpIndex]
"winhelp.exe -g %s\infodesk.hlp", TARGET3
[SharedComponents]
Component = s32fate.dll
Component = s32guie.dll
Component = s32krnle.dll
Component = s32maile.dll
Component = s32mthke.dll
Component = s32npte.dll
Component = s32stat.dll
Component = s32utile.dll
Component = symgloss.hlp
Component = symkrnle.dll
Component = symkrnle.vxd
Component = tkke16e.dll
Component = tkke32e.dll
Component = s32evnt1.dll
Component = symevnt.386
Component = symevnt1.dll
[OnRampSharedComponents]
Component = s32live1.dll, TARGET11
Component = s32luhf1.dll, TARGET11
Component = s32luhm1.dll, TARGET11
Component = s32luis1.dll, TARGET11
Component = s32luuz1.dll, TARGET11
[SystemSharedComponents]
[TargetSource]
reset = TARGET
location = %s, SOURCE
[LiveUpdateTarget]
reset = TARGET11
location = %s\Liveupdate, TARGET3
[FindInfoDesk]
infodesk.cnt, TARGET3
[InfoDeskHLP]
InfoDesk.HLP, TARGET3
[SymGlossHLP]
SymGloss.HLP, TARGET3
[SymeventVXD]
SYMEVNT.386, TARGET3
[OnRampGone]
S32LUUZ1.DLL, TARGET11
[Pix]
color = %s\nu.bmp, 10, -10
color = %s\symlogo.rle, -1, 1
[WindowsVersion]
3.95
"Norton System Information requires"
"Microsoft Windows 95."
;********************************************************************
; Wizard panels
;********************************************************************
[Welcome]
Caption="Norton System Information Setup"
Title="Norton Utilities Uninstall"
DlgProc=UnInstallDlgProc
ResourceId=134
Bitmap16=600
PanelDataProc=_DefaultDataProc@0
PanelFlags=First
[Warning]
Caption = "Norton System Information Setup"
Title="Verify Full Uninstall"
DlgProc=UnInstallDlgProc
ResourceId=139
Bitmap16=600
PanelDataProc=_DefaultDataProc@0
[RemoveFiles]
Caption = "Norton System Information Setup"
Title="Removing Program Files"
DlgProc=UnInstallDlgProc
ResourceId=135
Bitmap16=600
PanelDataProc=_DefaultDataProc@0
[Finished]
Caption = "Norton System Information Setup"
Title="Uninstall Complete"
DlgProc=UnInstallDlgProc
ResourceId=138
Bitmap16=600
PanelDataProc=_DefaultDataProc@0
PanelFlags=First+Last+Finished
;********************************************************************
; SetShell section
;********************************************************************
[SetShell]
WinIniName = win.ini
SystemIniName = system.ini
Message = MessageBox.SetShellMessage
SysSectionName = boot
WinSectionName = windows
shell = %s\setup.exe
load =
run =
SetShellIfLoaded=
Backup = Backup.SetShellSave
Restore = Backup.SetShellRestore
Active = yes
IfActiveList=LoadedList
SubProcess=SubProc
[SetShellSave]
win.ini, win.siw, WINDOWS, WINDOWS
system.ini, system.siw, WINDOWS, WINDOWS
[SetShellRestore]
system.siw, system.ini, WINDOWS, WINDOWS
win.siw, win.ini, WINDOWS, WINDOWS
[LoadedList]
s32krnle.dll
si32.exe
[SetShellMessage]
caption = "Norton System Information Uninstall"
"Welcome to the Norton System Information"
"Uninstall program."
" "
"Please select OK to allow Uninstall to restart"
"Windows and continue."
" "
"Press Cancel to exit Uninstall."